package cn.lzj.log.domain;

import cn.lzj.basic.domain.BaseDomain;

import java.util.Date;

/**
 * 实体类：
 */
public class Log extends BaseDomain{

    private Long userid;
    private String username;
    private String ip;
    private String url;
    private String method;
    private String operation;
    private Date createtime=new Date();


    public Long getUserid() {
        return userid;
    }

    public void setUserid(Long userid) {
        this.userid = userid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getOperation() {
        return operation;
    }

    public void setOperation(String operation) {
        this.operation = operation;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    @Override
    public String toString() {
        return "Log{" +
        ", userid=" + userid +
        ", username=" + username +
        ", ip=" + ip +
        ", url=" + url +
        ", method=" + method +
        ", operation=" + operation +
        ", createtime=" + createtime +
        "}";
    }
}
